
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>3.3 模块组织 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="Less规范.html" />
    
    
    <link rel="prev" href="字体排印.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../基本原则.html">
            
                <a href="../基本原则.html">
            
                    
                    1. 基本原则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../html/HTML.html">
            
                <a href="../html/HTML.html">
            
                    
                    2. HTML
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../html/通用约定.html">
            
                <a href="../html/通用约定.html">
            
                    
                    2.1 通用约定
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../html/语义化.html">
            
                <a href="../html/语义化.html">
            
                    
                    2.2 语义化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../html/HEAD.html">
            
                <a href="../html/HEAD.html">
            
                    
                    2.3 HEAD
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="CSS.html">
            
                <a href="CSS.html">
            
                    
                    3. CSS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="通用约定.html">
            
                <a href="通用约定.html">
            
                    
                    3.1 通用约定
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="字体排印.html">
            
                <a href="字体排印.html">
            
                    
                    3.2 字体排印
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4.3" data-path="模块组织.html">
            
                <a href="模块组织.html">
            
                    
                    3.3 模块组织
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="Less规范.html">
            
                <a href="Less规范.html">
            
                    
                    3.4 Less规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="性能优化.html">
            
                <a href="性能优化.html">
            
                    
                    3.5 性能优化
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../javascript/js.html">
            
                <a href="../javascript/js.html">
            
                    
                    4. JavaScript
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../javascript/通用约定.html">
            
                <a href="../javascript/通用约定.html">
            
                    
                    4.1. 通用约定
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../javascript/jq.md">
            
                <span>
            
                    
                    4.2. jQuery 规范
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../javascript/性能优化.md">
            
                <span>
            
                    
                    4.3. 性能优化
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../">
            
                <a href="../">
            
                    
                    5. 移动端优化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../">
            
                <a href="../">
            
                    
                    6. 工具箱
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../">
            
                <a href="../">
            
                    
                    7. 参考
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >3.3 模块组织</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="33-&#x6A21;&#x5757;&#x7EC4;&#x7EC7;">3.3 &#x6A21;&#x5757;&#x7EC4;&#x7EC7;</h3>
<hr>
<p><strong>&#x6A21;&#x5757;&#x7EC4;&#x7EC7;</strong></p>
<p>&#x4EFB;&#x4F55;&#x8D85;&#x8FC7; 1000 &#x884C;&#x7684; CSS &#x4EE3;&#x7801;&#xFF0C;&#x4F60;&#x90FD;&#x66FE;&#x7ECF;&#x5386;&#x8FC7;&#x8FD9;&#x6837;&#x7684;&#x4F53;&#x9A8C;&#xFF1A;</p>
<ol>
<li>&#x8FD9;&#x4E2A; class &#x5230;&#x5E95;&#x662F;&#x4EC0;&#x4E48;&#x610F;&#x601D;&#x5462;&#xFF1F;</li>
<li>&#x8FD9;&#x4E2A; class &#x5728;&#x54EA;&#x91CC;&#x88AB;&#x4F7F;&#x7528;&#x5462;&#xFF1F;</li>
<li>&#x5982;&#x679C;&#x6211;&#x521B;&#x5EFA;&#x4E00;&#x4E2A; xxoo class&#xFF0C;&#x4F1A;&#x9020;&#x6210;&#x51B2;&#x7A81;&#x5417;&#xFF1F;</li>
</ol>
<p>Reasonable System for CSS Stylesheet Structure &#x7684;&#x76EE;&#x6807;&#x5C31;&#x662F;&#x89E3;&#x51B3;&#x4EE5;&#x4E0A;&#x95EE;&#x9898;&#xFF0C;&#x5B83;&#x4E0D;&#x662F;&#x4E00;&#x4E2A;&#x6846;&#x67B6;&#xFF0C;&#x800C;&#x662F;&#x901A;&#x8FC7;&#x89C4;&#x8303;&#xFF0C;&#x8BA9;&#x4F60;&#x6784;&#x5EFA;&#x66F4;&#x5065;&#x58EE;&#x548C;&#x53EF;&#x7EF4;&#x62A4;&#x7684; CSS &#x4EE3;&#x7801;&#x3002;</p>
<p><strong>Components&#xFF08;&#x7EC4;&#x4EF6;&#xFF09;</strong></p>
<p><img src="../images/3.png" alt="Components"></p>
<p>&#x4ECE; Components &#x7684;&#x89D2;&#x5EA6;&#x601D;&#x8003;&#xFF0C;&#x5C06;&#x7F51;&#x7AD9;&#x7684;&#x6A21;&#x5757;&#x90FD;&#x4F5C;&#x4E3A;&#x4E00;&#x4E2A;&#x72EC;&#x7ACB;&#x7684; Components&#x3002;</p>
<p>Naming components &#xFF08;&#x7EC4;&#x4EF6;&#x547D;&#x540D;&#xFF09;</p>
<p>Components &#x6700;&#x5C11;&#x4EE5;&#x4E24;&#x4E2A;&#x5355;&#x8BCD;&#x547D;&#x540D;&#xFF0C;&#x901A;&#x8FC7; - &#x5206;&#x79BB;&#xFF0C;&#x4F8B;&#x5982;&#xFF1A;</p>
<ul>
<li>&#x70B9;&#x8D5E;&#x6309;&#x94AE; (.like-button)</li>
<li>&#x641C;&#x7D22;&#x6846; (.search-form)</li>
<li>&#x6587;&#x7AE0;&#x5361;&#x7247; (.article-card)</li>
</ul>
<p><strong>Elements &#xFF08;&#x5143;&#x7D20;&#xFF09;</strong></p>
<p><img src="../images/4.png" alt="Elements "></p>
<p>Elements &#x662F; Components &#x4E2D;&#x7684;&#x5143;&#x7D20;</p>
<p><strong>Naming elements &#xFF08;&#x5143;&#x7D20;&#x547D;&#x540D;&#xFF09;</strong></p>
<p>Elements &#x7684;&#x7C7B;&#x540D;&#x5E94;&#x5C3D;&#x53EF;&#x80FD;&#x4EC5;&#x6709;&#x4E00;&#x4E2A;&#x5355;&#x8BCD;&#x3002;</p>
<pre><code>.search-form {
    &gt; .field { /* ... */ }
    &gt; .action { /* ... */ }
  }
</code></pre><p><strong>On multiple words &#xFF08;&#x591A;&#x4E2A;&#x5355;&#x8BCD;&#xFF09;</strong></p>
<p>&#x5BF9;&#x4E8E;&#x5018;&#x82E5;&#x9700;&#x8981;&#x4E24;&#x4E2A;&#x6216;&#x4EE5;&#x4E0A;&#x5355;&#x8BCD;&#x8868;&#x8FBE;&#x7684; Elements &#x7C7B;&#x540D;&#xFF0C;&#x4E0D;&#x5E94;&#x4F7F;&#x7528;&#x4E2D;&#x5212;&#x7EBF;&#x548C;&#x4E0B;&#x5212;&#x7EBF;&#x8FDE;&#x63A5;&#xFF0C;&#x5E94;&#x76F4;&#x63A5;&#x8FDE;&#x63A5;&#x3002;</p>
<pre><code>  .profile-box {
    &gt; .firstname { /* ... */ }
    &gt; .lastname { /* ... */ }
    &gt; .avatar { /* ... */ }
  }
</code></pre><p><strong>Avoid tag selectors &#xFF08;&#x907F;&#x514D;&#x6807;&#x7B7E;&#x9009;&#x62E9;&#x5668;&#xFF09;</strong></p>
<p>&#x4EFB;&#x4F55;&#x65F6;&#x5019;&#x5C3D;&#x53EF;&#x80FD;&#x4F7F;&#x7528; classnames&#x3002;&#x6807;&#x7B7E;&#x9009;&#x62E9;&#x5668;&#x5728;&#x4F7F;&#x7528;&#x4E0A;&#x6CA1;&#x6709;&#x95EE;&#x9898;&#xFF0C;&#x4F46;&#x662F;&#x5176;&#x6027;&#x80FD;&#x4E0A;&#x7A0D;&#x5F31;&#xFF0C;&#x5E76;&#x4E14;&#x8868;&#x610F;&#x4E0D;&#x660E;&#x786E;&#x3002;</p>
<pre><code>.article-card {
    &gt; h3    { /* &#x2717; avoid */ }
    &gt; .name { /* &#x2713; better */ }
  }
</code></pre><p><strong>Variants &#xFF08;&#x53D8;&#x4F53;&#xFF09;</strong></p>
<p><img src="../images/6.png" alt="Variants"></p>
<p>Components &#x548C; Elements &#x53EF;&#x80FD;&#x90FD;&#x4F1A;&#x62E5;&#x6709; Variants&#x3002;</p>
<p><strong>Naming variants &#xFF08;&#x53D8;&#x4F53;&#x547D;&#x540D;&#xFF09;</strong></p>
<p>Variants &#x7684; classname &#x5E94;&#x5E26;&#x6709;&#x524D;&#x7F00;&#x4E2D;&#x5212;&#x7EBF; -</p>
<pre><code>  .like-button {
    &amp;.-wide { /* ... */ }
    &amp;.-short { /* ... */ }
    &amp;.-disabled { /* ... */ }
  }
</code></pre><p><strong>Element variants &#xFF08;&#x5143;&#x7D20;&#x53D8;&#x4F53;&#xFF09;</strong></p>
<pre><code>  .shopping-card {
    &gt; .title { /* ... */ }
    &gt; .title.-small { /* ... */ }
  }
</code></pre><p><strong>Dash prefixes &#xFF08;&#x4E2D;&#x5212;&#x7EBF;&#x524D;&#x7F00;&#xFF09;</strong></p>
<p>&#x4E3A;&#x4EC0;&#x4E48;&#x4F7F;&#x7528;&#x4E2D;&#x5212;&#x7EBF;&#x4F5C;&#x4E3A;&#x53D8;&#x4F53;&#x7684;&#x524D;&#x7F00;&#xFF1F;</p>
<ul>
<li>&#x5B83;&#x53EF;&#x4EE5;&#x907F;&#x514D;&#x6B67;&#x4E49;&#x4E0E; Elements</li>
<li>CSS class &#x4EC5;&#x80FD;&#x4EE5;&#x5355;&#x8BCD;&#x548C; _ &#x6216; - &#x5F00;&#x5934;</li>
<li>&#x4E2D;&#x5212;&#x7EBF;&#x6BD4;&#x4E0B;&#x5212;&#x7EBF;&#x66F4;&#x5BB9;&#x6613;&#x8F93;&#x51FA;</li>
</ul>
<p><strong>Layout &#xFF08;&#x5E03;&#x5C40;&#xFF09;</strong></p>
<p><img src="../images/7.png" alt="Layout &#xFF08;&#x5E03;&#x5C40;&#xFF09;"></p>
<p><strong>Avoid positioning properties &#xFF08;&#x907F;&#x514D;&#x5B9A;&#x4F4D;&#x5C5E;&#x6027;&#xFF09;</strong></p>
<p>Components &#x5E94;&#x8BE5;&#x5728;&#x4E0D;&#x540C;&#x7684;&#x4E0A;&#x4E0B;&#x6587;&#x4E2D;&#x90FD;&#x53EF;&#x4EE5;&#x590D;&#x7528;&#xFF0C;&#x6240;&#x4EE5;&#x5E94;&#x907F;&#x514D;&#x8BBE;&#x7F6E;&#x4EE5;&#x4E0B;&#x5C5E;&#x6027;&#xFF1A;</p>
<ul>
<li>Positioning (position, top, left, right, bottom)</li>
<li>Floats (float, clear)</li>
<li>Margins (margin)</li>
<li>Dimensions (width, height) *</li>
</ul>
<p><strong>Fixed dimensions &#xFF08;&#x56FA;&#x5B9A;&#x5C3A;&#x5BF8;&#xFF09;</strong></p>
<p>&#x5934;&#x50CF;&#x548C; logos &#x8FD9;&#x4E9B;&#x5143;&#x7D20;&#x5E94;&#x8BE5;&#x8BBE;&#x7F6E;&#x56FA;&#x5B9A;&#x5C3A;&#x5BF8;&#xFF08;&#x5BBD;&#x5EA6;&#xFF0C;&#x9AD8;&#x5EA6;...&#xFF09;&#x3002;</p>
<p><strong>Define positioning in parents &#xFF08;&#x5728;&#x7236;&#x5143;&#x7D20;&#x4E2D;&#x8BBE;&#x7F6E;&#x5B9A;&#x4F4D;&#xFF09;</strong></p>
<p>&#x5018;&#x82E5;&#x4F60;&#x9700;&#x8981;&#x4E3A;&#x7EC4;&#x4EF6;&#x8BBE;&#x7F6E;&#x5B9A;&#x4F4D;&#xFF0C;&#x5E94;&#x5C06;&#x5728;&#x7EC4;&#x4EF6;&#x7684;&#x4E0A;&#x4E0B;&#x6587;&#xFF08;&#x7236;&#x5143;&#x7D20;&#xFF09;&#x4E2D;&#x8FDB;&#x884C;&#x5904;&#x7406;&#xFF0C;&#x6BD4;&#x5982;&#x4EE5;&#x4E0B;&#x4F8B;&#x5B50;&#x4E2D;&#xFF0C;&#x5C06; widths&#x548C; floats &#x5E94;&#x7528;&#x5728; list component(.article-list) &#x5F53;&#x4E2D;&#xFF0C;&#x800C;&#x4E0D;&#x662F; component(.article-card) &#x81EA;&#x8EAB;&#x3002;</p>
<pre><code>.article-list {
    &amp; {
      @include clearfix;
    }

    &gt; .article-card {
      width: 33.3%;
      float: left;
    }
  }

  .article-card {
    &amp; { /* ... */ }
    &gt; .image { /* ... */ }
    &gt; .title { /* ... */ }
    &gt; .category { /* ... */ }
  }
</code></pre><p><strong>Avoid over-nesting &#xFF08;&#x907F;&#x514D;&#x8FC7;&#x5206;&#x5D4C;&#x5957;&#xFF09;</strong></p>
<p>&#x5F53;&#x51FA;&#x73B0;&#x591A;&#x4E2A;&#x5D4C;&#x5957;&#x7684;&#x65F6;&#x5019;&#x5BB9;&#x6613;&#x5931;&#x53BB;&#x63A7;&#x5236;&#xFF0C;&#x5E94;&#x4FDD;&#x6301;&#x4E0D;&#x8D85;&#x8FC7;&#x4E00;&#x4E2A;&#x5D4C;&#x5957;&#x3002;</p>
<pre><code>  /* &#x2717; Avoid: 3 levels of nesting */
  .image-frame {
    &gt; .description {
      /* ... */

      &gt; .icon {
        /* ... */
      }
    }
  }

  /* &#x2713; Better: 2 levels */
  .image-frame {
    &gt; .description { /* ... */ }
    &gt; .description &gt; .icon { /* ... */ }
  }
</code></pre><p><strong>Apprehensions &#xFF08;&#x987E;&#x8651;&#xFF09;</strong></p>
<ul>
<li><strong>&#x4E2D;&#x5212;&#x7EBF; - &#x662F;&#x4E00;&#x5768;&#x7CDF;&#x7CD5;&#x7684;&#x73A9;&#x610F;</strong>&#xFF1A;&#x5176;&#x5B9E;&#x4F60;&#x53EF;&#x4EE5;&#x9009;&#x62E9;&#x6027;&#x7684;&#x4F7F;&#x7528;&#xFF0C;&#x53EA;&#x8981;&#x5C06; Components, Elements, Variants&#x8BB0;&#x5728;&#x5FC3;&#x4E0A;&#x5373;&#x53EF;&#x3002;</li>
<li><strong>&#x6211;&#x6709;&#x65F6;&#x5019;&#x60F3;&#x4E0D;&#x51FA;&#x4E24;&#x4E2A;&#x5355;&#x8BCD;&#x5509;</strong>&#xFF1A;&#x6709;&#x4E9B;&#x7EC4;&#x4EF6;&#x7684;&#x786E;&#x4F7F;&#x7528;&#x4E00;&#x4E2A;&#x5355;&#x8BCD;&#x5C31;&#x80FD;&#x8868;&#x610F;&#xFF0C;&#x6BD4;&#x5982; aleter &#x3002;&#x4F46;&#x5176;&#x5B9E;&#x4F60;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x540E;&#x7F00;&#xFF0C;&#x4F7F;&#x5176;&#x610F;&#x8BC6;&#x66F4;&#x52A0;&#x660E;&#x786E;&#x3002;</li>
</ul>
<p>&#x6BD4;&#x5982;&#x5757;&#x7EA7;&#x5143;&#x7D20;&#xFF1A;</p>
<ul>
<li>.alert-box</li>
<li>.alert-card</li>
<li>.alert-block</li>
</ul>
<p>&#x6216;&#x884C;&#x5185;&#x7EA7;&#x5143;&#x7D20;</p>
<ul>
<li>.link-button</li>
<li>.link-span</li>
</ul>
<p><strong>Terminologies &#xFF08;&#x672F;&#x8BED;&#xFF09;</strong></p>
<p>RSCSS &#x4E0E;&#x5176;&#x4ED6; CSS &#x6A21;&#x5757;&#x7EC4;&#x7EC7;&#x7CFB;&#x7EDF;&#x76F8;&#x4F3C;&#x7684;&#x6982;&#x5FF5;</p>
<table>
<thead>
<tr>
<th>RSCSS</th>
<th>BEM</th>
<th>SMACSS</th>
</tr>
</thead>
<tbody>
<tr>
<td>Component</td>
<td>Block</td>
<td>Module</td>
</tr>
<tr>
<td>Element</td>
<td>Element</td>
<td>?</td>
</tr>
<tr>
<td>Layout</td>
<td>?</td>
<td>Layout</td>
</tr>
<tr>
<td>Variant</td>
<td>Modifier</td>
<td>Theme &amp; State</td>
</tr>
</tbody>
</table>
<p><strong>Summary &#xFF08;&#x603B;&#x7ED3;&#xFF09;</strong></p>
<ul>
<li>&#x4EE5; Components &#x7684;&#x89D2;&#x5EA6;&#x601D;&#x8003;&#xFF0C;&#x4EE5;&#x4E24;&#x4E2A;&#x5355;&#x8BCD;&#x547D;&#x540D;&#xFF08;.screenshot-image&#xFF09;</li>
<li>Components &#x4E2D;&#x7684; Elements&#xFF0C;&#x4EE5;&#x4E00;&#x4E2A;&#x5355;&#x8BCD;&#x547D;&#x540D;&#xFF08;.blog-post .title&#xFF09;</li>
<li>Variants&#xFF0C;&#x4EE5;&#x4E2D;&#x5212;&#x7EBF;-&#x4F5C;&#x4E3A;&#x524D;&#x7F00;&#xFF08;.shop-banner.-with-icon&#xFF09;</li>
<li>Components &#x53EF;&#x4EE5;&#x4E92;&#x76F8;&#x5D4C;&#x5957;</li>
<li>&#x8BB0;&#x4F4F;&#xFF0C;&#x4F60;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x7EE7;&#x627F;&#x8BA9;&#x4E8B;&#x60C5;&#x53D8;&#x5F97;&#x66F4;&#x7B80;&#x5355;</li>
<li>&#xB7; *</li>
</ul>
<p><a href="https://github.com/rstacruz/rscss#readme" target="_blank">&#x8BD1;&#x81EA;:Reasonable System for CSS Stylesheet Structure</a></p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="字体排印.html" class="navigation navigation-prev " aria-label="Previous page: 3.2 字体排印">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="Less规范.html" class="navigation navigation-next " aria-label="Next page: 3.4 Less规范">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"3.3 模块组织","level":"1.4.3","depth":2,"next":{"title":"3.4 Less规范","level":"1.4.4","depth":2,"path":"css/Less规范.md","ref":"css/Less规范.md","articles":[]},"previous":{"title":"3.2 字体排印","level":"1.4.2","depth":2,"path":"css/字体排印.md","ref":"css/字体排印.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"css/模块组织.md","mtime":"2019-05-16T01:56:20.205Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-17T02:26:20.307Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

